
import request from '@/utils/request'

export function prod(id) {
  return request.get(`/prod/prodInfo?prodId=${id}`)
}

// 收藏
export function storeup(id) {
  return request.post('/p/user/collection/addOrCancel', { id })
}

// 加入购物车
export function addBuycar(payload) {
  return request.post('/p/shopCart/changeItem',  payload )
}